public class Fruit {
    public double weight;
    public void info(){
        System.out.println("I am a fruit, weight "  + weight + " g!");
    }
}
